<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<c:set var="ctx" value="${pageContext.request.contextPath}" />
		<base href="${ctx}">

		<title>My JSP 'add.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<script src="/fckeditordemo/fckeditor/fckeditor.js"></script>
	</head>

	<body>
    <p><strong>新增用户</strong></p>
    <form name="form2" method="post" action="${ctx}/servlet/add">
	<table border="1">
				<tr></tr>
				<tr>
					<td width="168" height="35">
						用户ID
					</td>
					<td colspan="2">
						<input name="id" type="text" readonly>
					</td>
				</tr>
				<tr>
					<td height="35">
						用户账号
					</td>
					<td colspan="2">
						<input name="username" type="text">
					</td>
				</tr>
				<tr>
					<td height="36">
						用户密码
					</td>
					<td colspan="2">
						<input name="password" type="password">
					</td>
				</tr>
				<tr>
					<td height="37" colspan="3" valign="top">
						说明
						<br>
						<script>
	var editor = new FCKeditor('editor1');
	editor.BasePath = '/fckeditordemo/fckeditor/';
	editor.Height = 200;
	editor.ToolbarSet = 'Default';
	editor.Create();
</script>
					</td>
				</tr>
				<tr>
					<td height="41">
						<input name="input" type="reset" value="取消">
					</td>
					<td width="174">
						<input name="input" type="submit" value="提交">
					</td>
					<td width="189">
						<a href="${ctx}/servlet/MainPage">返回</a>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
